﻿// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/

namespace SupperTreeSample.Shared.Data;

/// <summary>
/// 食材模型
/// </summary>
public class Ingredient
{
    /// <summary>
    /// 获得/设置 食材模型
    /// </summary>
    [NotNull]
    public string? Name { get; set; }

    /// <summary>
    /// 获得/设置 食材不同年龄段重量
    /// </summary>
    [NotNull]
    public List<KeyValuePair<string, string>>? Attributes { get; set; }
}
